package com.wzx.shop.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wzx.shop.common.BasePojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author wzx
 * @version 1.0
 * @date 2023/2/24 - 21:25
 * @description 标题
 */
@Data
@TableName("t_order")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "ReleaseDynamic", description = "发布表")
public class Order extends BasePojo {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(notes = "主键id", required = true)
    private Integer id;

    @TableField("orderUser")
    @ApiModelProperty(value = "下单用户id")
    private Integer orderUser;

    @TableField("releaseDynamicId")
    @ApiModelProperty(value = "对应发布id")
    private Integer releaseDynamicId;

    @TableField("state")
    @ApiModelProperty(value = "状态")
    private String state;

}
